<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Login</title>
    <link th:href="@{/static/css/Login.css}" th:rel="stylesheet" th:text="text/css"/>
</head>
<body>
    <div id="login">
        <h1>Login</h1>
        <form th:action="/doLogin" method="post">
            <input type="text" id="name" name="name" required="required" placeholder="用户名"/>
            <input type="password" id="password" name="password" required="required" placeholder="密码" />
            <button class="but" type="submit">登录</button>
        </form>
    </div>
</body>
</html>